package cn.com.godliu.oauth2.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "oauth_client_details")
@Data
public class OauthClientDetails {
    @Id
    String client_id;
    String resource_ids;
    String client_secret;
    String scope;
    String authorized_grant_types;
    String web_server_redirect_uri;
    String authorities;
    long access_token_validity;
    long refresh_token_validity;
    String additional_information;
    String autoapprove;

}
